export class Scale {
    measure(animal, food) {
        let w1 = animal.weight;
        animal.eat(food);
        let w2 = animal.weight;
        return w2 - w1;
    }
}